<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2022/3/17
  Time: 18:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

    <%
        String dis = "";
        try {
            dis= (String) request.getAttribute("obj_data");
            request.setAttribute("dis",dis);

        }catch (Exception e){
            e.printStackTrace();
        }
    %>
    <%--<script>--%>
        <%--alert(<%= dis %>)--%>
    <%--</script>--%>
    <title>Title</title>

    <style>

        body{
            background-image:linear-gradient(to right, #ffc6e2, #ccb4ff);
        }

        button{
            background-color: white;
            color: #c7a9ff;
        }
        a{
            text-decoration:none;
        }
        .read{

            border: 2px solid #080a0b;
            border-radius: 10px;
            width: 200px;
            height: 35px;
        }

        form{
            background-color: white ;
            width: 300px;
            height: 125px;
            border-radius: 20px;
            opacity: 0.9;
            margin-left: auto;
            margin-right: auto;
            margin-top: 250px;
        }
    </style>

</head>
<body>
<button><a href="Init.jsp">上一页</a></button>
<form style="text-align:center;vertical-align:middle;"action="/ReadServlet" method="get">

    <h2>请输入你要读取的文件路径</h2>
    <input name="filePath" class="read">
    <input type="submit" value="确认">

</form>
</body>
</html>
